package com.ayoka.parenting.ui.coach.profitrecord;

import com.ayoka.parenting.bean.PagerBean;
import com.ayoka.parenting.bean.ProfitRecordBean;
import com.ayoka.parenting.interf.RequestCallback;
import com.ayoka.parenting.mvp.BasePresenter;
import com.ayoka.parenting.mvp.BaseView;

/**
 * @ProjectName: MVPPlugin.
 * @ClassName: ProfitRecordContract.
 * @Description: .
 * @Author: jincp.
 * @CreateDate: 2019/10/10 18:17.
 */
public class ProfitRecordContract {

    interface View extends BaseView {
        void configProfitRecordListData(PagerBean<ProfitRecordBean> data);
    }

    interface Presenter extends BasePresenter<View> {
        void getProfitRecordListData(boolean isShowWaitDialog, int pageNo, int pageSize);
    }

    interface Model {
        void getProfitRecordListData(BasePresenter presenter, int pageNo, int pageSize, RequestCallback<PagerBean<ProfitRecordBean>> requestCallback);
    }
}
